package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import com.itheima.health.pojo.Order;
import com.itheima.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface OrderDao {

    Order selectByMemberId(@Param("id") Integer id);
    void insert(Order order);
    OrderSetting findOrderDate(@Param("date") Date date);
    Map<String,Object> selectById(@Param("id") Integer id);
    void updateReservationsByOrderDate(OrderSetting orderSetting);
}
